package by.vkhalko.asamo.services;

import org.springframework.transaction.annotation.Transactional;

import by.vkhalko.asamo.datamodel.Task;

public interface TaskService {
	Task get(Long id);

	@Transactional
	void saveOrUpdate(Task task);

	@Transactional
	void delete(Task task);

	@Transactional
	void deleteAll();

}
